package edu.aynu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created with IntelliJ IDEA.
 * User: 清视°
 * Date: 2021/6/19  17:57
 * Description: 1、 用户权限对应表
 * “          ” 2、  用户注册之后，为其默认添加一个  普通用户的权限
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User_Role {
    private Integer id;
    private Integer uid;
    private Integer rid;

    public User_Role(Integer uid,Integer rid){
        this.uid = uid;
        this.rid = rid;
    }
}
